Optimal. Leaf size=472 \[ -\frac{2 d (e+f x) (b g-a h)^{3/2} \sqrt{\frac{(a+b x) (f g-e h)}{(e+f x) (b g-a h)}} \sqrt{\frac{(c+d x) (f g-e h)}{(e+f x) (d g-c h)}} \Pi \left (\frac{f (b g-a h)}{(b e-a f) h};\sin ^{-1}\left (\frac{\sqrt{b e-a f} \sqrt{g+h x}}{\sqrt{b g-a h} \sqrt{e+f x}}\right )|\frac{(d e-c f) (b g-a h)}{(b e-a f) (d g-c h)}\right )}{h^2 \sqrt{a+b x} \sqrt{c+d x} \sqrt{b e-a f}}+\frac{2 b \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{h \sqrt{a+b x}}-\frac{2 \sqrt{c+d x} \sqrt{b g-a h} \sqrt{f g-e h} \sqrt{-\frac{(g+h x) (b e-a f)}{(a+b x) (f g-e h)}} E\left (\sin ^{-1}\left (\frac{\sqrt{b g-a h} \sqrt{e+f x}}{\sqrt{f g-e h} \sqrt{a+b x}}\right )|-\frac{(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{h \sqrt{g+h x} \sqrt{\frac{(c+d x) (b e-a f)}{(a+b x) (d e-c f)}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.519671, antiderivative size = 472, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 49, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.102, Rules used = {1595, 165, 537, 176, 424} \[ -\frac{2 d (e+f x) (b g-a h)^{3/2} \sqrt{\frac{(a+b x) (f g-e h)}{(e+f x) (b g-a h)}} \sqrt{\frac{(c+d x) (f g-e h)}{(e+f x) (d g-c h)}} \Pi \left (\frac{f (b g-a h)}{(b e-a f) h};\sin ^{-1}\left (\frac{\sqrt{b e-a f} \sqrt{g+h x}}{\sqrt{b g-a h} \sqrt{e+f x}}\right )|\frac{(d e-c f) (b g-a h)}{(b e-a f) (d g-c h)}\right )}{h^2 \sqrt{a+b x} \sqrt{c+d x} \sqrt{b e-a f}}+\frac{2 b \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{h \sqrt{a+b x}}-\frac{2 \sqrt{c+d x} \sqrt{b g-a h} \sqrt{f g-e h} \sqrt{-\frac{(g+h x) (b e-a f)}{(a+b x) (f g-e h)}} E\left (\sin ^{-1}\left (\frac{\sqrt{b g-a h} \sqrt{e+f x}}{\sqrt{f g-e h} \sqrt{a+b x}}\right )|-\frac{(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{h \sqrt{g+h x} \sqrt{\frac{(c+d x) (b e-a f)}{(a+b x) (d e-c f)}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1595
Rule 165
Rule 537
Rule 176
Rule 424
Rubi steps
\begin{align*} \int \frac{\sqrt{a+b x} (d e+c f+2 d f x)}{\sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx &=\frac{2 b \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{h \sqrt{a+b x}}-\frac{(d (b g-a h)) \int \frac{\sqrt{e+f x}}{\sqrt{a+b x} \sqrt{c+d x} \sqrt{g+h x}} \, dx}{h}+\frac{((b e-a f) (b g-a h)) \int \frac{\sqrt{c+d x}}{(a+b x)^{3/2} \sqrt{e+f x} \sqrt{g+h x}} \, dx}{h}\\ &=\frac{2 b \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{h \sqrt{a+b x}}-\frac{\left (2 d (b g-a h) \sqrt{\frac{(f g-e h) (a+b x)}{(b g-a h) (e+f x)}} \sqrt{\frac{(f g-e h) (c+d x)}{(d g-c h) (e+f x)}} (e+f x)\right ) \operatorname{Subst}\left (\int \frac{1}{\left (h-f x^2\right ) \sqrt{1+\frac{(-b e+a f) x^2}{b g-a h}} \sqrt{1+\frac{(-d e+c f) x^2}{d g-c h}}} \, dx,x,\frac{\sqrt{g+h x}}{\sqrt{e+f x}}\right )}{h \sqrt{a+b x} \sqrt{c+d x}}-\frac{\left (2 (b g-a h) \sqrt{c+d x} \sqrt{-\frac{(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{(b c-a d) x^2}{d e-c f}}}{\sqrt{1-\frac{(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac{\sqrt{e+f x}}{\sqrt{a+b x}}\right )}{h \sqrt{\frac{(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt{g+h x}}\\ &=\frac{2 b \sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}}{h \sqrt{a+b x}}-\frac{2 \sqrt{b g-a h} \sqrt{f g-e h} \sqrt{c+d x} \sqrt{-\frac{(b e-a f) (g+h x)}{(f g-e h) (a+b x)}} E\left (\sin ^{-1}\left (\frac{\sqrt{b g-a h} \sqrt{e+f x}}{\sqrt{f g-e h} \sqrt{a+b x}}\right )|-\frac{(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{h \sqrt{\frac{(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt{g+h x}}-\frac{2 d (b g-a h)^{3/2} \sqrt{\frac{(f g-e h) (a+b x)}{(b g-a h) (e+f x)}} \sqrt{\frac{(f g-e h) (c+d x)}{(d g-c h) (e+f x)}} (e+f x) \Pi \left (\frac{f (b g-a h)}{(b e-a f) h};\sin ^{-1}\left (\frac{\sqrt{b e-a f} \sqrt{g+h x}}{\sqrt{b g-a h} \sqrt{e+f x}}\right )|\frac{(d e-c f) (b g-a h)}{(b e-a f) (d g-c h)}\right )}{\sqrt{b e-a f} h^2 \sqrt{a+b x} \sqrt{c+d x}}\\ \end{align*}
Mathematica [B] time = 15.4652, size = 6583, normalized size = 13.95 \[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.064, size = 13177, normalized size = 27.9 \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (2 \, d f x + d e + c f\right )} \sqrt{b x + a}}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a + b x} \left (c f + d e + 2 d f x\right )}{\sqrt{c + d x} \sqrt{e + f x} \sqrt{g + h x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (2 \, d f x + d e + c f\right )} \sqrt{b x + a}}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]